*{
    box-sizing: border-box;
}

/*common css*/
button{
    background: #f4f4f4;
    padding: 4px 8px;
    border-radius: 4px;
    opacity: .7;
}

button:hover{
    opacity: 1;

}

.clearfix{
    content: '';
    display: block;
    clear: both;
}
.reveal.left section:not(:first-child){
    text-align: left;
}
/*settings*/

.settings {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4em;
    z-index: 2;
    transition: opacity .3s;
    opacity: 0;
}

.set{
    width: 3em;
    height: 3em;
    vertical-align: -0.15em;
    fill: currentColor;
    cursor: pointer;
    margin: 10px;
}


.settings:hover {
    opacity: 1;
}

/*menu*/
.menu{
    width: 200px;
    height: 100%;
    z-index:100;
    position: fixed;
    left: 0;
    background: #f4f4f4;

    transform: translateX(-100%);
    transition: transform .4s;
}
.menu.open{
    display: block;
    transform: translateX(0%);

}

.menu .close{
    width: 2em;
    height: 2em;
    position: absolute;
    top: 0;
    right: 0;
}

.menu .detail{
    margin-top: 50px;
    color: #898989;
}
/*munu tbas*/
.menu .tab{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
    padding: 6px 0;
    cursor:default ;
}
.menu .tab .icon{
    width: 1.4em;
    height: 1.4em;
    margin-right: 6px;
}
.menu .tab.active{
    margin-bottom: 16px;
    background:#c8c8c8;
}

/* 内容编辑 */
.menu .content{
    padding: 20px;
    width: calc(100vw - 200px);
    transform: translateX(calc(100% + 200px));
    transition: transform .6s;
    position: absolute;
    left: 200px;
    top: 0;
    height: 100vh;
    background:#c8c8c8;
}

.menu.open .content.active{
    transform: translateX(0px);
}
.detail > .content.active h1{
    font-size: 30px;
    border-bottom: 1px solid;
    padding-bottom: 10px;
}
.detail > .content.active textarea{
    margin-top: 10px;
    width: 100%;
    height: 600px;
    border: none;
    outline: none;
}
/*这种隐藏方法你也需要学习*/
.detail .edit [type=file]{
    display: none;
}

.detail .edit label{
    opacity: .7;
}
.detail .edit label:hover{
    cursor: pointer;
    opacity: 1;
}


.detail button{
    margin-top: 10px;
}

/*应用主题部分*/
.detail .themes{
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0px 16px;
    padding-bottom: 30px;
    margin-top: 20px;

}
.detail .themes figure{
    margin-top: 30px;
    text-align: center;
    opacity: .7;
    border: 4px solid transparent;
    transition: .3s;
    cursor: pointer;
}
.detail .themes figure.select{
    opacity: 1;
    border: 4px solid #c1c1c1;
}
.detail .themes figcaption{
    margin-top: 10px;
}
.detail .themes img{
    width: 200px;
    height: 150px;
}
/*应用特效部分*/
.detail .effect{
    margin-top: 10px;
}

































